home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1837 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  3.4 KB  |  89 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Kathy cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "Oh how would I love to touch her...  Just say no, Hewitt.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "That\'s Kathy.  I\'ve had a crush on her since I started here.  Too bad she\'s way too cool for me.";
  23.       }
  24.       if(_root.micon._currentframe == 51 && _root.range == true)
  25.       {
  26.          _root.talk11 = 2;
  27.          _root.sfx.gotoAndStop(3);
  28.          _root.micon.gotoAndStop(1);
  29.          _root.txt_number = 6;
  30.          _root.take = 31;
  31.          _root.next_dis6 = 13;
  32.          _root.di6 = 417;
  33.          _root.next_txt6 = "ThanksΓǪ WhatΓÇÖs your name again?";
  34.          _root.next_txt5 = "ItΓÇÖs HewΓǪ Hewitt.";
  35.          _root.di5 = 418;
  36.          _root.next_dis5 = 2;
  37.          _root.next_txt4 = "A deals a deal.  HereΓÇÖs the lace from my hair.";
  38.          _root.di4 = 419;
  39.          _root.next_dis4 = 13;
  40.          _root.next_txt3 = "Wait!  What?  You said youΓÇÖd go to the dance if I got this info for you.";
  41.          _root.di3 = 420;
  42.          _root.next_dis3 = 2;
  43.          _root.next_txt2 = "Well, Henry, I never said what part of me was going with you.";
  44.          _root.di2 = 421;
  45.          _root.next_dis2 = 13;
  46.          _root.next_txt1 = "HarshΓǪ";
  47.          _root.di1 = 422;
  48.          _root.next_dis1 = 2;
  49.       }
  50.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  51.       {
  52.          if(_root.talk11 == 0)
  53.          {
  54.             _root.talk11 = 1;
  55.             _root.txt_number = 5;
  56.             _root.next_dis5 = 2;
  57.             _root.di5 = 410;
  58.             _root.next_txt5 = "HeyΓǪ,  KaΓǪ KaΓǪ Kathy.  ItΓÇÖs me.  Hewitt. Would you beΓǪ umΓǪ interested in going to the dance with me?";
  59.             _root.next_txt4 = "Do I know you?  Never mind, thatΓÇÖs not important.  IΓÇÖll go to the dance with you if you can help me out.";
  60.             _root.di4 = 411;
  61.             _root.next_dis4 = 13;
  62.             _root.next_txt3 = "Sure!  Anything!";
  63.             _root.di3 = 412;
  64.             _root.next_dis3 = 2;
  65.             _root.next_txt2 = "Principle Hoggard has some files on his computer that I need.  ";
  66.             _root.di2 = 413;
  67.             _root.next_dis2 = 13;
  68.             _root.next_txt1 = "DonΓÇÖt worry about what they are, but if you can get them off the computer, IΓÇÖll go with you to the dance.";
  69.             _root.di1 = 414;
  70.             _root.next_dis1 = 13;
  71.          }
  72.          else if(_root.talk11 == 1)
  73.          {
  74.             _root.txt_number = 1;
  75.             _root.next_dis1 = 13;
  76.             _root.next_txt1 = "Where is the information I asked you for?";
  77.             _root.di1 = 415;
  78.          }
  79.          else
  80.          {
  81.             _root.txt_number = 1;
  82.             _root.next_dis1 = 13;
  83.             _root.next_txt1 = "Hahaha";
  84.             _root.di1 = 416;
  85.          }
  86.       }
  87.    }
  88. }
  89.